//########################################################################
//## (C) by Edwin Vriethoff under Microsoft Reciprocal License (Ms-RL)  ##
//## See http://www.codeplex.com/SPUserPoll/license for full license    ##
//##                                                                    ##
//## http://edwin.vriethoff.net http://www.codeplex.com/SPUserPoll/     ##
//########################################################################


namespace SPUserPoll.Business.Components
{
    public class Types
    {
        ///<summary>
        /// Holds the poll result type
        ///</summary>
        public enum PollResultType : int
        {
            Count = 0, //This will display the count of each vote
            Percentage = 1, //This will display results as percentage
            Both = 2, //This will display both the count and the percentage
            None = 3 //Do not show a label
        }

        ///<summary>
        /// Holds the poll result type
        ///</summary>
        public enum PollResultDisplay : int
        {
            Textual = 0, //Display the results as text
            ColumnChart = 1, //Display the result as column chart
            BarChart = 2, //Display the result as a bar chart
            PieChart = 3, //Display the result as pie
            DoughnutChart = 4 //Display results as Doughnut
        }

        /// <summary>
        /// Define witch list cache to handle
        /// </summary>
        public enum CacheList : int
        {
            Responses = 0, //Response list
            Answers = 1 //Answer list
        }

    }
}
